package org.vergil.core.designpattern.state.share;

/**
 * Created by vergil on 17-3-25.
 */
public class Client {

    public static void main(String[] args){
        Switch sw = new Switch("开关1");
        Switch sw1 = new Switch("开关2");

        sw.on();
        sw1.on();

        sw.off();
    }
}
